package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipMaterialData;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipMaterialDataService {
	@RequestMapping(value = "/p/cs/EquipMaterialDataService/insertMaterialBatch",method = RequestMethod.POST)
	public ResultBean insertMaterialBatch(@RequestBody List<EquipMaterialData> materialList);
	@RequestMapping(value = "/p/cs/EquipMaterialDataService/selectAllByPage",method = RequestMethod.POST)
	public EquipMaterialData selectAllByPage(@RequestBody EquipMaterialData equipMaterialData);
}
